chore: jsii publishing extracting artifacts to the wrong location #72
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Follow up to #71.
In contrast to single package jsii publishing, our artifacts don't contain the entire repo, but rather just the compilation result of a specific package. This means that upon extraction, it needs to be placed in the specific package directory instead of the root.
Currently release is failing with:
Error: Expected to find .jsii file in /home/runner/work/aws-cdk-cli/aws-cdk-cli/.repo/packages/@aws-cdk/cli-lib-alpha, but no such file foundWhich is expected because it operates on an uncompiled repo. Extraction of the artifact to the correct location will overlay the repo with the compiled code.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license